﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SimpleServiceBus.Bus.MessageManagement.MessageHandling;
using SimpleServiceBus.Bus.Pipeline;
using SimpleServiceBus.Messages.Management.Monitoring;

namespace SampleMonitorService
{
    public class EndpointPingRequestHandler : IMessageHandler<EndpointPingRequest>
    {
        public void Handle(EndpointPingRequest message, IMessageContext context)
        {
            MainForm.Current.Notify("I was PINGED! (" + message.Message + ")");
        }
    }
}
